#!/user/bin/python
#coding = utf-8
import sys
basic = 100000 
for line in sys.stdin:
    words = line.strip('\n').split('\t')
    key = str(int(words[0]) + basic)
    value = words[1]
    print('%s\t%s'%(key,value))